package com.six.work.services;

import com.six.work.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompanyServices {
    List<Company> findAllCompany();

    //前端页面Aworkcompany连数据库
    List<Company> findAllCompany1();

    Integer DelCompanyByID(Integer company_id);

    List<CompanyView> findCompanyByName(String companyName);

    List<CompanyView> finComByStateAndcomName(String companyName, Integer state_id);

    List<Company> findCompanyManageByName(String comName);

    String updateComState(Integer company_id);

    String updateComState1(Integer company_id);

    Company UserLogin(String company_number);

    Integer insertCompany(Company company);

    Company SelectComByID(Integer company_id);

    //搜索job_add
    List<Company> findCompanyByAdd(String job_add);

    //搜索company_type
    List<Company> findCompanyByType(String company_type);

    //搜索company_scale
    List<Company> findCompanyByScale(String company_scale);

//企业认证

    Integer updateCompany(Company company);

    Company SelectCompanyByID(Integer company_id);

    List<Company> findComType();

    List<Company> findComAdd();





    //前端页面间Aworkcompany传值到positionItem(试)
    List<CompanyAndPositionView> SelectComByID2(Integer company_id);

    //可视化
    List<Company> findAllCom();

    //今日新增
    Integer FindTodayCom();

    //本月新增
    Integer FindMonthCom();

    List<CompanyType> SumComType();

    List<Company> top10Com();

    List<CompanyAdd> findAddCom();

}
